//
//  YDOAApplyCell.swift
//  YDOAProduct
//
//  Created by YDWY on 2017/6/30.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit

class YDOAApplyCell: UITableViewCell {

    @IBOutlet weak var myCollectionView: UICollectionView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}


extension YDOAApplyCell : UICollectionViewDelegate,UICollectionViewDataSource {
    public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let  item =  collectionView.dequeueReusableCell(withReuseIdentifier: "item", for: indexPath)
        return item
    }


    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
          return 20
    }

//    
//    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
//        return 20
//    }
//    
//    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
//        let  item =  collectionView.dequeueReusableCell(withReuseIdentifier: "item", for: indexPath)
//        
//        return item
//        
//    }
//    
    
    
}
